package java44th.group.mapper;

import java.util.List;

import java44th.group.bean.po.MarketCategory;
import java44th.group.bean.po.MarketCategoryExample;
import java44th.group.bean.admin.vo.goods.CategoryPartVO;
import java44th.group.bean.wx.vo.home.ChannelVO;
import org.apache.ibatis.annotations.Param;

public interface MarketCategoryMapper {
    long countByExample(MarketCategoryExample example);

    int deleteByExample(MarketCategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketCategory row);

    int insertSelective(MarketCategory row);

    List<MarketCategory> selectByExample(MarketCategoryExample example);

    MarketCategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") MarketCategory row, @Param("example") MarketCategoryExample example);

    int updateByExample(@Param("row") MarketCategory row, @Param("example") MarketCategoryExample example);

    int updateByPrimaryKeySelective(MarketCategory row);

    int updateByPrimaryKey(MarketCategory row);

    List<CategoryPartVO> selectAllIdAndName();

    Integer selectIdByPid(@Param("pid") Integer pid);

    List<ChannelVO> selectPartColoumn();

}